package com.wj.console.bean.welfareshop.result;

import java.io.Serializable;
import java.util.Map;

/**   
 * 类名称：Address
 * 类描述 ：系统地址请求结果集
 * 创建人: Administrator  
 * 创建时间：2017-4-25 下午5:00:15  
 * 修改人：
 * 修改时间：
 * 修改备注：
 * 版本： V1.0
 */
public class Address implements Serializable{
	private static final long serialVersionUID = 1L;
	private String code;//地址ID
	private String name;//名称
	private String type;//类型(province: 省, city(市), county(区/县),  town(乡/镇))
	private String parentCode;//父ID
	
	private Map<String,Address> addressMap;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getParentCode() {
		return parentCode;
	}
	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}
	
	public Map<String, Address> getAddressMap() {
		return addressMap;
	}
	public void setAddressMap(Map<String, Address> addressMap) {
		this.addressMap = addressMap;
	}
	@Override
	public String toString() {
		return "Address [code=" + code + ", name=" + name + ", type=" + type
				+ ", parentCode=" + parentCode +  "]";
	}
	
	
}
